<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>测试页面</h1>
    <img src="/static/images/dog.jpg" alt="" srcset="">
    <script src="/static/js/jquery.min.js"></script>
    <script>
        $(function(){
            $('h1').on('click',function(){
                console.log('点击我了');
            })
        })
    </script>
</body>
</html>